package com.mingqijia.gassafety.webserver.response.bi;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mingqijia.gassafety.shared.constant.AsstConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.util.StringUtils;

import java.util.Date;

/**
 * @author: duanhongxiang
 * @Desc:
 * @create: 2024-10-31 12:14
 **/
@Data
public class OneReportDetailResponse {
    @ApiModelProperty("设备号")
    private String imei;

    @ApiModelProperty("设备位置")
    private String installationPosition;

    @ApiModelProperty("设备名称")
    private String equipmentName;

    @ApiModelProperty("设备类型")
    private String equipmentType;

    @ApiModelProperty("设备类型名称")
    private String equipmentTypeName;

    @ApiModelProperty("设备状态 0:离线 1:正常 2:低报 3:高报 4:故障 5:屏蔽")
    private Integer equipmentStatus;

    @ApiModelProperty("设备状态说明")
    private String equipmentStatusInfo;

    @ApiModelProperty("信号情况")
    private Integer signal;

    @ApiModelProperty("最近一次上报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date latestTime;

    @ApiModelProperty(value = "通讯方式")
    private String communicationMode;

    @ApiModelProperty(value = "运营商")
    private String operators;

    @ApiModelProperty("设备厂商")
    private String equipmentManufacturer;

    @ApiModelProperty("设备型号")
    private String equipmentModel;

    @ApiModelProperty("客户名称")
    private String Name;

    @ApiModelProperty("户名")
    private String custName;

    @ApiModelProperty("户号")
    private String subsCode;

    @ApiModelProperty("户址")
    private String custAddress;

    @ApiModelProperty("户主手机号")
    private String custPhone;

    @ApiModelProperty("行业类型")
    private String industryType;

    @ApiModelProperty("行业类型名")
    private String industryTypeName;

    @ApiModelProperty("协议版本号")
    private String protocolVersion;

    @ApiModelProperty(value = "客户地址")
    private String customerAddress;
}
